import instance from "./request"
import qs from 'qs'

export const JinpinApi = () => {
  return instance.get('/products/recommend')
}

export const SendSMSApi = (params) => {
  return instance.post('/sendSMS',qs.stringify(params))
}

export const PhoneSubmitApi = (params) => {
  return instance.post('/phoneRegin',qs.stringify(params))
}

export const WeChatSubmitApi = (params) => {
  return instance.post('/wechatUsers/PCLogin',qs.stringify(params))
}
export const WeChatBindPhoneApi = (params) => {
  return instance.post('/wechatUsers/binding',qs.stringify(params))
}